home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 726-750 / 733 / termcap / readme < prev    next >
Text File  |  1995-03-18  |  3KB  |  54 lines

  1. This is the GNU termcap library -- a library of C functions that
  2. enable programs to send control strings to terminals in a way
  3. independent of the terminal type.  Most of this package is also
  4. distributed with GNU Emacs, but it is available in this separate
  5. distribution to make it easier to install as -ltermcap.
  6.  
  7. The GNU termcap library does not place an arbitrary limit on the size
  8. of termcap entries, unlike most other termcap libraries.
  9.  
  10. To compile on Unix-like systems:
  11.  
  12. 1.  Type `./configure'.  This shell script attempts to guess correct
  13. values for various system-dependent variables used during compilation,
  14. and creates the file `Makefile'.  This takes a minute or two.
  15. On Ultrix 4.2, you have to run `configure' with sh5, bash, or ksh,
  16. e.g., `sh5 configure'; `sh' doesn't work.
  17.  
  18. If you want to compile in a different directory from the one
  19. containing the source code, `cd' to that directory and run `configure'
  20. with the option `--srcdir=DIR', where DIR is the directory that
  21. contains the source code.  The object files and library will be
  22. put in the current directory.  This option only works with GNU make.
  23. `configure' ignores any other arguments you give it.
  24.  
  25. If your system requires unusual options for compilation 
  26. that `configure' doesn't know about, you can give `configure' initial
  27. values for variables by setting them in the environment; in
  28. Bourne-compatible shells, you can do that on the command line like
  29. this:
  30. $ CC='gcc -traditional' DEFS=-D_POSIX_SOURCE ./configure
  31.  
  32. 2.  If you want to change the directories where the library and
  33. documentation will be installed, or the optimization options, edit
  34. `Makefile' and change those values.  If you have an unusual system
  35. that needs special compilation options that `configure' doesn't know
  36. about, and you didn't pass them in the environment when running
  37. `configure', you should add them to `Makefile' now.  Alternately,
  38. teach `configure' how to figure out that it is being run on a system
  39. where they are needed, and mail the diffs to the address listed at the
  40. end of this file so we can include them in the next release.
  41.  
  42. 3.  Type `make'.
  43.  
  44. 4.  If the library compiles successfully, type `make install' to
  45. install it and the documentation.  If you need an /etc/termcap file,
  46. you can get one from the Emacs `etc' directory, among many places.
  47.  
  48. 5.  You can remove the object files from the source directory by
  49. typing `make clean'.  Or type `make distclean' if you also want to
  50. remove `Makefile', for instance if you are going to recompile next on
  51. another type of machine.
  52.  
  53. Please report any bugs in this library to bug-gnu-emacs@prep.ai.mit.edu.
  54.